Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add passport expiry status #98 #100

Merged
merged 5 commits into from
Aug 1, 2023
Merged

Conversation

aahna-ashina
Copy link
Member

@aahna-ashina aahna-ashina commented Jul 28, 2023

Related GitHub Issue

close #98

How Has This Been Tested?

  • npm run generate-count
  • Status checks pass
  • Works on Goerli
  • Works on Mainnet

Are There Admin Tasks?

@aahna-ashina aahna-ashina self-assigned this Jul 28, 2023
- run passport expiry data generation _after_ citizens data generation
- check if veNATION balance is below 1.5
@aahna-ashina aahna-ashina marked this pull request as ready for review July 29, 2023 13:26
result.data.forEach((row: any, i: number) => {
if (row.week_end == weekEndDateString) {
console.info(`row.week_end ${row.week_end}, row.voting_power: ${row.voting_power}`)
if (row.voting_power < 1.5) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, because we know it is, but we should actually upgrade the passports moving forward have the "expired" logic stored on chain.

@aahna-ashina aahna-ashina merged commit bf2ed22 into main Aug 1, 2023
16 checks passed
@aahna-ashina aahna-ashina deleted the feat-add-passport-expiry-status branch August 1, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add passport expiry status
2 participants